package com.zt.teacher.service.impl;

import com.zt.common.pojo.origin.OriginCollege;
import com.zt.teacher.dao.OriginCollegeDao;
import com.zt.teacher.service.OriginCollegeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * description:
 * author:zt
 * date:2021-12-26
 */
@Service
@Transactional
public class OriginCollegeServiceImpl implements OriginCollegeService {

    @Autowired
    private OriginCollegeDao originCollegeDao;

    @Override
    public List<OriginCollege> getAll() {
        return originCollegeDao.getAll();
    }
}
